package com.joplus.housekeeper.bean;

import java.io.Serializable;
import java.util.List;

/**
 *
 * 优惠券列表
 * Created by tangdehao on 16/5/16.
 */
public class CouponListBean implements Serializable {


    /**
     * code : 2000
     * data : {"list":[{"id":7788,"couponId":"coup146639077754202fj","conditionMoney":500,"couponMoney":100,"accountId":"acc1466044931968Q8YB","couponStatus":"10012","usedTime":null,"availableMonths":12,"categoryId":"cate1459308876147MYOi","restId":"rest137","isDele":"0","url":"http://app.joplus.cn/coupon/index.html?couponId=coup146639077754202fj","restName":"CAPO At Rockbund","image":null,"count":0,"notice":"1.在使用前，请在JO+上进行预订。\r\n2.在使用时请点击优惠券，出现二维码页面，在您需要结账时请出示此二维码页面。\r\n3.邀请码的有效期随会员时间到期而失效。"},{"id":7789,"couponId":"coup1466390777545aOJB","conditionMoney":500,"couponMoney":100,"accountId":"acc1466044931968Q8YB","couponStatus":"10012","usedTime":null,"availableMonths":12,"categoryId":"cate1459308879593DRhS","restId":"rest137","isDele":"0","url":"http://app.joplus.cn/coupon/index.html?couponId=coup1466390777545aOJB","restName":"CAPO At Rockbund","image":null,"count":0,"notice":"1.在使用前，请在JO+上进行预订。\r\n2.在使用时请点击优惠券，出现二维码页面，在您需要结账时请出示此二维码页面。\r\n3.邀请码的有效期随会员时间到期而失效。"}]}
     * message : 优惠劵查询成功
     */

    private String code;
    private DataBean data;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 7788
             * couponId : coup146639077754202fj
             * conditionMoney : 500
             * couponMoney : 100
             * accountId : acc1466044931968Q8YB
             * couponStatus : 10012
             * usedTime : null
             * availableMonths : 12
             * categoryId : cate1459308876147MYOi
             * restId : rest137
             * isDele : 0
             * url : http://app.joplus.cn/coupon/index.html?couponId=coup146639077754202fj
             * restName : CAPO At Rockbund
             * image : null
             * count : 0
             * notice : 1.在使用前，请在JO+上进行预订。
             2.在使用时请点击优惠券，出现二维码页面，在您需要结账时请出示此二维码页面。
             3.邀请码的有效期随会员时间到期而失效。
             */

            private int id;
            private String couponId;
            private int conditionMoney;
            private int couponMoney;
            private String accountId;
            private String couponStatus;
            private Object usedTime;
            private int availableMonths;
            private String categoryId;
            private String restId;
            private String isDele;
            private String url;
            private String restName;
            private Object image;
            private int count;
            private String notice;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCouponId() {
                return couponId;
            }

            public void setCouponId(String couponId) {
                this.couponId = couponId;
            }

            public int getConditionMoney() {
                return conditionMoney;
            }

            public void setConditionMoney(int conditionMoney) {
                this.conditionMoney = conditionMoney;
            }

            public int getCouponMoney() {
                return couponMoney;
            }

            public void setCouponMoney(int couponMoney) {
                this.couponMoney = couponMoney;
            }

            public String getAccountId() {
                return accountId;
            }

            public void setAccountId(String accountId) {
                this.accountId = accountId;
            }

            public String getCouponStatus() {
                return couponStatus;
            }

            public void setCouponStatus(String couponStatus) {
                this.couponStatus = couponStatus;
            }

            public Object getUsedTime() {
                return usedTime;
            }

            public void setUsedTime(Object usedTime) {
                this.usedTime = usedTime;
            }

            public int getAvailableMonths() {
                return availableMonths;
            }

            public void setAvailableMonths(int availableMonths) {
                this.availableMonths = availableMonths;
            }

            public String getCategoryId() {
                return categoryId;
            }

            public void setCategoryId(String categoryId) {
                this.categoryId = categoryId;
            }

            public String getRestId() {
                return restId;
            }

            public void setRestId(String restId) {
                this.restId = restId;
            }

            public String getIsDele() {
                return isDele;
            }

            public void setIsDele(String isDele) {
                this.isDele = isDele;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getRestName() {
                return restName;
            }

            public void setRestName(String restName) {
                this.restName = restName;
            }

            public Object getImage() {
                return image;
            }

            public void setImage(Object image) {
                this.image = image;
            }

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public String getNotice() {
                return notice;
            }

            public void setNotice(String notice) {
                this.notice = notice;
            }
        }
    }
}
